<template>
  <div class="sys-test-container">
    <h2>系统测试页面</h2>
    <el-button type="primary" @click="callTestMethod">调用测试方法</el-button>
  </div>
</template>

<script lang="ts" setup>
import { useCrud, useTable, useUpsert, useSearch } from "@cool-vue/crud";
import { useCool } from "/@/cool";
import { useI18n } from "vue-i18n";
import citySelect from '../components/city-select.vue';

const { service } = useCool();
const { t } = useI18n();


async function callTestMethod() {
  const result = await service.order.merchant.getGoodsCategory()
  console.log(result)
}
</script>

<style scoped>
.sys-test-container {
  padding: 20px;
}

.result-container {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  background-color: #f5f7fa;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  color: #333;
}
</style>